package com.zrc.japktool.apk.merge;

import java.util.List;

public class AssetsConfig {

    /**
     * channel : vivo
     * appUrl : http://47.108.67.149:8081/
     * appDebug : true
     * appSoftnum : 2024SA0084740
     * appSoftauthor : 成都九霄融创科技有限公司
     * appCompanyCode : 0
     * appName : 一指弹你脑瓜
     * appVersionName : 1.0.7
     * appVersionCode : 107
     * appPackage : com.jxrc.yizhitnng.nearme.gamecenter
     * appAct : com.jxsdk.oppo.MainActivity
     * appId : 32303971
     * appKey : 54c1ff9d9b1444ddb6cb1d112ae8bd72
     * appMediaid : 54c1ff9d9b1444ddb6cb1d112ae8bd72
     * appSecret : d9769daaff444d44abb8a56dd5231ba0
     * appScreenmode : true
     * appMode : 0
     * config : [{"code":1,"space":-1,"showLog":false,"cacheLog":false,"timerLog":false,"hideLog":false,"hookLog":false},{"code":3,"space":-1,"showLog":false,"cacheLog":false,"timerLog":false,"hideLog":false,"hookLog":false},{"code":4,"space":-1,"showLog":false,"cacheLog":false,"timerLog":false,"hideLog":false,"hookLog":false},{"code":7,"space":-1,"showLog":false,"cacheLog":false,"timerLog":false,"hideLog":false,"hookLog":false},{"code":8,"space":-1,"showLog":false,"cacheLog":false,"timerLog":false,"hideLog":false,"hookLog":false},{"code":10,"space":-1,"showLog":false,"cacheLog":false,"timerLog":false,"hideLog":false,"hookLog":false}]
     */
    private String channel;
    private String appUrl;
    private boolean appDebug;
    private String appSoftnum;
    private String appSoftauthor;
    private int appCompanyCode;
    private String appName;
    private String appVersionName;
    private int appVersionCode;
    private String appPackage;
    private String appAct;
    private String appId;
    private String appKey;
    private String appMediaid;
    private String appSecret;
    private boolean appScreenmode;
    private int appMode;
    private List<ConfigBean> config;

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }
    public String getAppUrl() {
        return appUrl;
    }

    public void setAppUrl(String appUrl) {
        this.appUrl = appUrl;
    }

    public boolean isAppDebug() {
        return appDebug;
    }

    public void setAppDebug(boolean appDebug) {
        this.appDebug = appDebug;
    }

    public String getAppSoftnum() {
        return appSoftnum;
    }

    public void setAppSoftnum(String appSoftnum) {
        this.appSoftnum = appSoftnum;
    }

    public String getAppSoftauthor() {
        return appSoftauthor;
    }

    public void setAppSoftauthor(String appSoftauthor) {
        this.appSoftauthor = appSoftauthor;
    }

    public int getAppCompanyCode() {
        return appCompanyCode;
    }

    public void setAppCompanyCode(int appCompanyCode) {
        this.appCompanyCode = appCompanyCode;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppVersionName() {
        return appVersionName;
    }

    public void setAppVersionName(String appVersionName) {
        this.appVersionName = appVersionName;
    }

    public int getAppVersionCode() {
        return appVersionCode;
    }

    public void setAppVersionCode(int appVersionCode) {
        this.appVersionCode = appVersionCode;
    }

    public String getAppPackage() {
        return appPackage;
    }

    public void setAppPackage(String appPackage) {
        this.appPackage = appPackage;
    }

    public String getAppAct() {
        return appAct;
    }

    public void setAppAct(String appAct) {
        this.appAct = appAct;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppMediaid() {
        return appMediaid;
    }

    public void setAppMediaid(String appMediaid) {
        this.appMediaid = appMediaid;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public boolean isAppScreenmode() {
        return appScreenmode;
    }

    public void setAppScreenmode(boolean appScreenmode) {
        this.appScreenmode = appScreenmode;
    }

    public int getAppMode() {
        return appMode;
    }

    public void setAppMode(int appMode) {
        this.appMode = appMode;
    }

    public List<ConfigBean> getConfig() {
        return config;
    }

    public void setConfig(List<ConfigBean> config) {
        this.config = config;
    }

    public static class ConfigBean {
        /**
         * code : 1
         * space : -1
         * showLog : false
         * cacheLog : false
         * timerLog : false
         * hideLog : false
         * hookLog : false
         */

        private int code;
        private int space;
        private boolean showLog;
        private boolean cacheLog;
        private boolean timerLog;
        private boolean hideLog;
        private boolean hookLog;

        public ConfigBean(int code, int space, boolean showLog, boolean cacheLog, boolean timerLog, boolean hideLog, boolean hookLog) {
            this.code = code;
            this.space = space;
            this.showLog = showLog;
            this.cacheLog = cacheLog;
            this.timerLog = timerLog;
            this.hideLog = hideLog;
            this.hookLog = hookLog;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public int getSpace() {
            return space;
        }

        public void setSpace(int space) {
            this.space = space;
        }

        public boolean isShowLog() {
            return showLog;
        }

        public void setShowLog(boolean showLog) {
            this.showLog = showLog;
        }

        public boolean isCacheLog() {
            return cacheLog;
        }

        public void setCacheLog(boolean cacheLog) {
            this.cacheLog = cacheLog;
        }

        public boolean isTimerLog() {
            return timerLog;
        }

        public void setTimerLog(boolean timerLog) {
            this.timerLog = timerLog;
        }

        public boolean isHideLog() {
            return hideLog;
        }

        public void setHideLog(boolean hideLog) {
            this.hideLog = hideLog;
        }

        public boolean isHookLog() {
            return hookLog;
        }

        public void setHookLog(boolean hookLog) {
            this.hookLog = hookLog;
        }
    }
}
